.message {
    width: 100%;
    height: 100%;
  }
  
  .message-main {
    margin-top: 70px;
    height: 90%;
    width: 100%;
    display: flex;
  }
  
  
  .message-main-left {
    margin-left: 10%;
    height: 100%;
    width: 15%;
  }
  
  .el-menu-vertical-demo {
    width: 100%;
  }
  
  .contacts-item {
    margin-bottom: 10px;
  }
  
  .contact-item {
    list-style-type: none;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s; 
  }
  
  .contact-item:hover {
    background-color: #f0f0f0; 
  }
  
  .contact-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover; 
    margin-right: 10px; 
  }
  
  .contact-username {
    width: 95%;
    display: flex;
    flex-direction:row;
    align-items:baseline;
    font-size: 16px;
    color: #333;
  }
  
  .send-message-top {
    height: 69%;
  }
  
  .send-message-bot {
    height: 10%;
    text-align: right; 
    margin-top: 10px; 
  }
  
  .message-main-right {
    margin-left: -135px;
    height: 100%;
    width: 70%;
    display: flex;
    flex-direction: column;
  }
  
  .message-main-right-top {
    height: 10%;
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 18px;
    text-align: left;
  }
  
  .message-main-right-main {
    height: 100%;
    padding: 10px;
    overflow: hidden; /* 使得内容区域的超出部分不显示 */
  }
  
  .chat-room {
    height: 810px;
  }
  
  
  .chat-room-top {
    height: 5%;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    font-size: 18px;
    text-align: center; /* 文字居中对齐 */
  }
  
  
  
  .chat-room-bot {
    height: 95%;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    display: flex;
  }
  
  .chat-room-bot-left {
    height: 97.5%;
    width: 25%;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    padding: 10px;
  }
  
  .chat-room-bot-left p {
    margin: 5px 0;
  }
  
  .chat-room-bot-right {
    height: 100%;
    width: 75%;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
  }
  
  .chat-room-bot-right-top {
    height: 75%;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 1px;
    background-color: #fff;
    overflow-y: auto;
  }
  
  .message-right {
    text-align: right;
    margin-bottom: 10px;
  }
  
  .message-left {
    text-align: left;
    margin-bottom: 10px;
  }
  
  .message-right p, .message-left p {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: #e1ffc7;
  }
  
  .message-right p {
    margin-right: 5px;
    background-color: #d0f0c0; /* 自定义背景色 */
  }
  
  .message-left p {
    margin-left: 5px;
    background-color:#ccc; /* 自定义背景色 */
  }
  
  .message-timestamp {
    display: block;
    font-size: 12px;
    color: #888;
  }
  
  .chat-room-bot-right-bot {
    height: 24.5%;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 1px;
    background-color: #fff;
  }
  
  @media (max-width: 768px) {
    .message-main-left {
      display: none;
    }
    .message-main-right {
      width: 100%;
      margin-left: 0;
    }
  }
  
  .contacts-list {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    padding: 10px;
    height: 100%;
    overflow-y: auto;
  }
  
  
  .send-message-input {
    border: none;
    outline: none; 
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-size: 16px;
    resize: none; 
  }
  
  .send-message-button {
    border: none;
    outline: none; 
    background-color: #007bff; 
    color: #fff; 
    padding: 10px 20px;
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 16px;
    margin-right: 5px;
  }
  
  .reply-message {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    height: 810px;
    overflow-y: auto;
  }
  
  .reply-message ul {
    padding: 0;
    margin: 0;
  }
  
  .reply-message li {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer; 
    transition: background-color 0.3s; 
  }
  
  .reply-message li:hover {
    background-color: #f0f0f0; 
  }
  
  .comment-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
  }
  
  .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .show-message{
    width: 100%;
    height: 100%;
  }

  .name-button{
    display: flex;
    flex-direction:row;
    width: 100%;
  }